/// list : [{"id":"1547171271555522571","nickName":"会员.sd8fd","phone":"19907136286","avatar":null,"status":1,"createTime":1658228462,"updateTime":1658228603,"totalLikes":null,"totalFans":null,"totalAttention":null}]
/// pageCurrent : 1
/// pageSize : 10
/// total : 4
/// hasNext : false
/// pages : 0

class FollowListEntity {
  FollowListEntity({
      this.list, 
      this.pageCurrent, 
      this.pageSize, 
      this.total, 
      this.hasNext, 
      this.pages,});

  FollowListEntity.fromJson(dynamic json) {
    if (json['list'] != null) {
      list = [];
      json['list'].forEach((v) {
        list?.add(FollowEntity.fromJson(v));
      });
    }
    pageCurrent = json['pageCurrent'];
    pageSize = json['pageSize'];
    total = json['total'];
    hasNext = json['hasNext'];
    pages = json['pages'];
  }
  List<FollowEntity>? list;
  int? pageCurrent;
  int? pageSize;
  int? total;
  bool? hasNext;
  int? pages;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    if (list != null) {
      map['list'] = list?.map((v) => v.toJson()).toList();
    }
    map['pageCurrent'] = pageCurrent;
    map['pageSize'] = pageSize;
    map['total'] = total;
    map['hasNext'] = hasNext;
    map['pages'] = pages;
    return map;
  }

}

/// id : "1547171271555522571"
/// nickName : "会员.sd8fd"
/// phone : "19907136286"
/// avatar : null
/// status : 1
/// createTime : 1658228462
/// updateTime : 1658228603
/// totalLikes : null
/// totalFans : null
/// totalAttention : null

class FollowEntity {
  FollowEntity({
      this.id, 
      this.nickName, 
      this.phone, 
      this.avatar, 
      this.status, 
      this.createTime, 
      this.updateTime, 
      this.totalLikes, 
      this.totalFans, 
      this.totalAttention,});

  FollowEntity.fromJson(dynamic json) {
    id = json['id'];
    nickName = json['nickName'];
    phone = json['phone'];
    avatar = json['avatar'];
    status = json['status'];
    createTime = json['createTime'];
    updateTime = json['updateTime'];
    totalLikes = json['totalLikes'];
    totalFans = json['totalFans'];
    totalAttention = json['totalAttention'];
  }
  String? id;
  String? nickName;
  String? phone;
  dynamic avatar;
  int? status;
  int? createTime;
  int? updateTime;
  dynamic totalLikes;
  dynamic totalFans;
  dynamic totalAttention;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['id'] = id;
    map['nickName'] = nickName;
    map['phone'] = phone;
    map['avatar'] = avatar;
    map['status'] = status;
    map['createTime'] = createTime;
    map['updateTime'] = updateTime;
    map['totalLikes'] = totalLikes;
    map['totalFans'] = totalFans;
    map['totalAttention'] = totalAttention;
    return map;
  }

}